package com.hsgene.product.persistence;

import com.hsgene.product.domain.GeneticTestingPackageAddtion;

public interface GeneticTestingPackageAddtionMapper {
    int deleteByPrimaryKey(String id);
    /**
     *插入商品
     * @author FX
     * @date 2018/10/17 17:50
     * @param record
     * @return
     */
    int insert(GeneticTestingPackageAddtion record);
    /**
     *插入不为空的字段
     * @author FX
     * @date 2018/10/17 17:50
     * @param record
     * @return
     */
    int insertSelective(GeneticTestingPackageAddtion record);
    /**
     *根据主键查询
     * @author FX
     * @date 2018/10/17 17:51
     * @param id
     * @return
     */
    GeneticTestingPackageAddtion selectByPrimaryKey(String id);
    /**
     *更新不为空的字段
     * @author FX
     * @date 2018/10/17 17:51
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(GeneticTestingPackageAddtion record);
    /**
     *更新
     * @author FX
     * @date 2018/10/17 17:51
     * @param record
     * @return
     */
    int updateByPrimaryKey(GeneticTestingPackageAddtion record);
    /**
     *根据套餐id查询商品信息
     * @author FX
     * @date 2018/10/17 17:54
     * @param id
     * @return
     */
    GeneticTestingPackageAddtion getByPackageId(String id);
}